"use strict";

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
	const { router, controller, config } = app;
	const { appId } = config;

	router.get(`/${appId}/print/contract/:contractId`, controller.printer.contract);
};
